<%-- 
    Document   : ads_approval
    Created on : Apr 21, 2012, 11:57:13 AM
    Author     : fikri
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>.: Pocket.my :.</title>
        <script type="text/javascript">
            function viewDetail (id){
                frm = document.forms.form1;
                frm.action = 'approval?approvalDetailForm&idAds=' + id;                
                frm.submit();
            }
        </script>
    </head>
    <body>
        <s:form beanclass="com.apps.epocket.stripes.action.ApprovalAdsActionBean" id="form1">
            <div id="center" class="column">
                <div id="content">     

                    <display:table class="tablecloth" 
                                   name="${actionBean.senaraiWaitingApproval}" pagesize="10"
                                   cellpadding="0" cellspacing="0" id="line"
                                   requestURI="/approval">
                        <display:column title="No.">${line_rowNum}</display:column>
                        <display:column title="Ads ID">
                            <a href="#" onclick="viewDetail('${line.idIklan}');">${line.idIklan}</a>
                        </display:column>
                        <display:column property="namaIklan" title="Ads Head"/>
                        <display:column property="catatanIklan" title="Ads Text"/>                        
                    </display:table>
                </div>
            </div>        
        </s:form>
    </body>
</html>
